/* 版心居中 */
.wrapper {
    margin: 0 auto;
    width: 1200px;
}

/* 整体颜色 */
body {
    background-color: #f3f5f7;
}

/* 头部区域 */
.header {
    height: 100px;
    background-color: #fff;
}

.header .wrapper {
    display: flex;
    padding-top: 29px;
}

/* logo 区域 */
.header .wrapper .logo a {
    display: block;
    width: 195px;
    height: 41px;
    font-size: 0;
    background-image: url(../images/logo.png);
}

/* 导航区 */
.nav {
    margin-left: 102px;
}

.nav ul {
    display: flex;
}

.nav ul li {
    margin-right: 24px;
}

.nav ul li a {
    display: block;
    padding: 6px 8px;
    line-height: 27px;
    font-size: 19px;
}

.nav ul li .active,
.nav ul li a:hover {
    border-bottom: 2px solid #00a4ff;
}

/* 搜索区 */
.search {
    display: flex;
    margin-left: 64px;
    padding-left: 19px;
    padding-right: 12px;

    width: 412px;
    height: 40px;
    background-color: #f3f5f7;
    border-radius: 20px;
}

.search input {
    flex: 1;
    border: 0;
    /* 去除表单控件的焦点框 */
    outline: none;
    /* 设置透明 */
    background-color: transparent;
}

.search input::placeholder {
    font-size: 14px;
    color: #999;
    line-height: 20px;
}

.search a {
    align-self: center;
    width: 16px;
    height: 16px;
    background-image: url(../images/search.png);
}

/* 用户区 */
.user {
    margin-left: 32px;
    margin-top: 4px;
}

.user a img {
    margin-right: 7px;
    vertical-align: middle;
}

.user a span {
    font-size: 16px;
    color: #666;
}

/* Banner */
.banner {
    height: 420px;
    background-color: #0092cb;

}

.banner .wrapper {
    display: flex;
    justify-content: space-between;
    height: 420px;
    background-image: url(../uploads/banner.png);

}

/* 左导航栏 */
.banner .left {
    padding: 3px 20px;
    width: 191px;
    height: 420px;
    background-color: rgba(0, 0, 0, 0.42);
}

.banner .left a {
    display: block;
    height: 46px;
    line-height: 46px;
    font-size: 16px;
    color: #fff;
    background: url(../images/right.png) no-repeat right;

}

.banner .left a:hover {
    color: #00a4ff;
    background-image: url(../images/right-hover.png);
}

/* 右导航栏 */
.banner .right {
    align-self: center;
    width: 218px;
    height: 305px;
    background-color: #209dd5;
    border-radius: 10px;
}

.banner .right h3 {
    margin: 18px 14px 9px;
    font-size: 15px;
    font-weight: 400;
    color: #fff;
}

.banner .right .content {
    padding: 14px;
    height: 257px;
    background-color: #fff;
    border-radius: 10px;
}

/* 课程表 */
.banner .right dl {
    margin-bottom: 12px;
    height: 53px;
    border-bottom: 1px solid #e0e0e0;
}

.banner .right dt {
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 14px;
    height: 20px;
}

.banner .right dd {
    margin-bottom: 8px;
    font-size: 12px;
    line-height: 16px;
}

.banner .right dd span {
    color: #00a4ff;
}

.banner .right dd strong {
    color: #7d7d7d;
    font-weight: 400;
}

.banner .right a {
    display: block;
    height: 32px;
    background-color: #00a4ff;
    text-align: center;
    line-height: 32px;
    color: #fff;
    font-size: 14px;
    border-radius: 15px;
}

/* 精品推荐 */
.recommend {
    display: flex;
    margin-top: 11px;
    padding: 0 20px;
    line-height: 60px;
    height: 60px;
    background-color: #fff;
    box-shadow: 0px 1px 2px 0px rgba(211, 211, 211);
}

.recommend h3 {
    color: #00a4ff;
    font-size: 18px;
    font-weight: normal;
}

.recommend ul {
    display: flex;
    flex: 1;
}

.recommend ul li a {
    padding: 0 24px;
    font-size: 18px;
    border-right: 1px solid #e0e0e0;
}

.recommend ul li:last-child a {
    border-right: 0;
}

.recommend .modify {
    color: #00a4ff;
    font-size: 16px;
}

/* 精品课程 */
.course {
    margin-top: 15px;
}

.hd {
    display: flex;
    justify-content: space-between;
    height: 60px;
    line-height: 60px;

}

.hd h3 {
    font-size: 21px;
    font-weight: normal;
}

.hd .more {
    padding-right: 20px;
    background: url(../images/more.png) no-repeat right;
    font-size: 14px;
    color: #999;
}

/* 内容区域 */
.bd ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.bd li {
    margin-bottom: 14px;
    width: 228px;
    height: 271px;
    background-color: pink;
}

.bd li .pic {
    height: 156px;
}

.bd li .text {
    padding: 20px;
    height: 115px;
    background-color: #fff;
}

.bd li .text h4 {
    margin-bottom: 13px;
    font-size: 14px;
    font-weight: normal;
    height: 40px;
    line-height: 20px;
}

.bd li .text p {
    color: #999;
    height: 20px;
    line-height: 20px;
    font-size: 14px;
}

.bd li .text p span {
    color: #fa6400;
}

.bd li .text p i {
    font-style: normal;
}

/* 前端 */
.hd ul {
    display: flex;
}

.hd li {
    font-size: 16px;
    margin-right: 60px;
}

.hd ul .active {
    color: #00a4ff;
}

/* 前端内容 */
.bd {
    display: flex;
    justify-content: space-between;
}

.bd .left {
    width: 228px;
}

.bd .right {
    width: 957px;
}

.bd .right .top {
    margin-bottom: 15px;
    height: 100px;
}

.ai .bd ul {
    width: 1200px;
}

/* 版权区域 */

.footer {
    margin-top: 60px;
    padding: 60px;
    height: 273px;
    background-color: #fff;
}

.footer .wrapper {
    display: flex;
    justify-content: space-between;
}

.footer .left {
    width: 440px;
}

.footer .left p {
    margin-top: 24px;
    margin-bottom: 14px;
    font-size: 12px;
    line-height: 17px;
    color: #666;
}

.footer .left .download {
    display: block;
    width: 120px;
    height: 36px;
    border: 1px solid #00a4ff;
    color: #00a4ff;
    font-size: 16px;
    line-height: 34px;
    text-align: center;
}

.footer .right {
    display: flex;
}

.footer .right dl {
    margin-left: 130px;
}

.footer .right dt {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 23px;
}

.footer .right a {
    color: #666;
    font-size: 14px;
    line-height: 24px;
}